/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package email.api;

import java.util.regex.Matcher;
import java.util.regex.Pattern;


/**
 *
 * @author Puma
 */
public class Email {

private static ReadUrl r = new ReadUrl();
    
    public static void main(String[] args) {
    String aprovecha = "http://whatcounts.com/dm?id=141EBB06427A23601C871BCFE442B193EE894CEF7708B298";
    String tuDescuenton = "C:\\Sites\\Jrockefeller Api\\src\\email\\api\\Sites\\TuDescuenton.html";
    String tremendoDescuento = "C:\\Sites\\Jrockefeller Api\\src\\email\\api\\Sites\\TremendoDescuento.html";
    
        try {
            r.ReadUrl(aprovecha,1);
            System.out.println("****************\nEND APROVECHA\n**************");
            r.ReadFile2(tuDescuenton,2);
            System.out.println("****************\nEND Tu Descuenton\n**************");
            r.ReadFile(tremendoDescuento,3);
            
//            StringUtils str = new StringUtils();
//            String hash = str.unescapeHTML("\"Elimina el acn&eacute; con: Limpieza con Gel Queratol&iacute;tico o Alfa Hidroxi&aacute;cidos +Gomage +Microdermoabrasi&oacute;n +Acido salic&iacute;lico +vapor de ozono +Extracci&oacute;n +Cura de lesiones con antibi&oacute;tico +Alta frecuencia +Cauteriz (...)\"");
//            System.out.println(hash);
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }

    }

}
